#ifndef LEVEL_H
#define LEVEL_H
#include "global.h"

enum
{
    TILE_FLOOR,
    TILE_WALL,
    TILE_LCOOLER,
    TILE_RCOOLER,
    TILE_LWORK,
    TILE_RWORK,
    TILE_SLWORK,
    TILE_SRWORK,
};

struct sTILE
{
    bool isSolid;
    int tileType;
};

class Level
{
    public:
    Level(char* pFilename);
    ~Level();
    static BITMAP *Tileset;
    sTILE LevelArray[20][15];
    bool isSolid(int x, int y);
    bool isLCooler(int x, int y);
    bool isRCooler(int x, int y);
    bool isReady;
    int drawTiles();
    int drawShadows();
    global Globals;
};

#endif
